package cn.sciento.farm.devicemanager.fjhsxq.upload;

import cn.sciento.farm.devicemanager.dao.entity.FjhsxqUploadLog;
import cn.sciento.farm.devicemanager.fjhsxq.model.common.upload.UploadLandData;
import cn.sciento.farm.devicemanager.fjhsxq.model.common.upload.UploadSensorData;
import cn.sciento.farm.devicemanager.fjhsxq.model.common.upload.UploadSensorTotal;

import java.util.List;

/**
 * @author Walton
 * @since 2020/9/14 17:46
 */
public interface UploadInfoService {

    /**
     * 上传环境监控信息
     *
     * @return
     */
    UploadSensorTotal uploadSensorData();

    /**
     * 上传土地信息
     *
     * @return
     */
    UploadLandData uploadLandInfoList();

    /**
     * 添加日志
     * @param fjhsxqUploadLog
     * @return
     */
    int save(FjhsxqUploadLog fjhsxqUploadLog);

    /**
     * 批量删除日志
     * @param createTime
     * @return
     */
    long batchDeleteLogByCreateTime(long createTime);
}
